using ED.Common.BaseModel;
using ED.Model;

    /// <summary>
    /// Dictionary服务
    /// </summary>
namespace ED.IService
{
    public interface IDictionaryService
    {
            /// <summary>
        /// Dictionary查询
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public PageOut<int> Page(int req);

        /// <summary>
        /// Dictionary新增
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public Tuple<bool,string> Add(int req);

        /// <summary>
        /// Dictionary更新
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public Tuple<bool, string> Update(int req);

        /// <summary>
        /// Dictionary删除
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        public Tuple<bool, string> Delete(int req);
    }
}
